* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-size: 20px;
  font-family: '楷体';
  font-style: italic;
}

.container {
  width: 30rem;
  height: 24rem;
  overflow-y: auto;
  border: 0.1rem solid #C0C4CC;
  padding: 0.5rem;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header {
  height: 7rem;
  margin-bottom: 0;
  background-color: #606266;
}

.header>h2 {
  height: 3rem;
  line-height: 3rem;
  color: white;
  text-align: center;
}

.header>p {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header>p>input {
  width: 18rem;
  height: 2.2em;
  line-height: 2.2rem;
  border-style: groove;
  padding: 10px;
  border: 0;
}

.header>p>button {
  border: none;
  width: 4rem;
  height: 1.7rem;
  text-align: center;
  line-height: 1.7rem;
  background-color: rgba(0, 0, 0, .5);
  color: white;
  cursor: pointer;
  transition: all .6s;
}

.header>p>button:hover {
  background-color: rgba(0, 0, 0, .7);
}

.main>ul {
  min-height: 5rem;
  margin: 0 auto;
  list-style: none;
  overflow: hidden;
}

.main>ul>li {
  height: 3rem;
  border-bottom: 0.1rem solid darkgray;
  line-height: 3rem;
  padding-left: 2rem;
}

.main>ul>li:hover {
  background-color: lavender;
  cursor: pointer;
}

.main>ul>li>b {
  display: block;
  min-width: 5rem;
  height: 3rem;
  line-height: 3rem;
  float: left;
  font-size: 16px;
}

.main>ul>li>span {
  display: block;
  width: 1rem;
  height: 3rem;
  margin-right: 1rem;
  text-align: center;
  line-height: 3rem;
  float: right;
  font-size: 16px;
}

@media screen and (min-width:1200px) {
  html {
    font-size: 20px;
  }
}

@media screen and (min-width:800px) and (max-width:1200px) {
  html {
    font-size: 16x;
  }
}

@media screen and (max-width:800px) {
  html {
    font-size: 12px;
  }
}